home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 220 / 220.xpi / chrome / flashgot.jar / content / flashgot / flashgotOptions.xul < prev    next >
Encoding:
Extensible Markup Language  |  2010-01-24  |  10.5 KB  |  280 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.  
  4.     FlashGot - a Firefox extension for external download managers integration
  5.     Copyright (C) 2004-2009 Giorgio Maone - g.maone@informaction.com
  6.  
  7. ***** END LICENSE BLOCK ***** -->
  8. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  9.  
  10. <!DOCTYPE overlay [
  11. <!ENTITY % flashgot SYSTEM "chrome://flashgot/locale/flashgot.dtd" >
  12. %flashgot;
  13. <!ENTITY % flashgotFB  SYSTEM "chrome://flashgot/content/en-US/flashgot.dtd" >
  14. %flashgotFB;
  15. ]
  16. >
  17.  
  18. <dialog id="flashgotOptions" 
  19.   onload="fgo_onload()"
  20.   ondialogaccept="fgo_save()"
  21.   title="&flashgotOptions;"
  22.   buttons="extra2,accept,cancel"
  23.   
  24.   buttonlabelextra2="&flashgotUninstall;"
  25.   ondialogextra2="gFlashGotService.smUninstaller.appUninstall(window)"
  26.   
  27.   flex="1"
  28.   spacerflex="1"
  29.   
  30.   persist="screenX screenY"
  31.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  32. >
  33.  
  34.   <script type="application/x-javascript" src="flashgotCommon.js"/>
  35.   <script type="application/x-javascript" src="flashgotOptions.js"/>
  36.   
  37.   <popupset>
  38.       <tooltip id="quoteWarn" position="at_pointer" orient="vertical" >
  39.         <description>&flashgotQuoteWarn1;</description>
  40.         <description>&flashgotQuoteWarn2;</description>
  41.       </tooltip>
  42.    </popupset>
  43.  
  44.   <tabbox id="mainTabbox" flex="1" >
  45.   <tabs>
  46.     <tab label="&flashgotGeneral;"/>
  47.     <tab label="&flashgotMenu;"/>
  48.     <tab id="tab-downloads" label="&flashgotDownloads;"/>
  49.     <tab label="&flashgotPrivacy;"/>
  50.     <tab label="&flashgotAdvanced;"/>
  51.   </tabs>
  52.     <tabpanels flex="1">
  53.       <tabpanel flex="1">
  54.       <vbox flex="1">  
  55.         <vbox>
  56.           <label class="header" value="&flashgotDownloadManager;" />
  57.           <hbox align="center">
  58.             <menulist id="downloadManagers" flex="1">
  59.             <menupopup id="mp-dms">
  60.             </menupopup>
  61.             </menulist>
  62.             <button id="customDM-add" oncommand="g_cust.add()" 
  63.               label="&flashgotAdd;" />
  64.            </hbox>
  65.          </vbox>
  66.         <deck id="dmsdeck" selectedIndex="1" flex="1">
  67.           <vbox flex="1">
  68.           <label value="&flashgotExecutable;" />  
  69.           <hbox align="center">
  70.               <textbox id="customDM-exeFile" readonly="true" flex="1"
  71.                  />
  72.                <button label="&flashgotBrowse;"
  73.                     oncommand="g_cust.locateExe()" />
  74.             </hbox>
  75.             <hbox align="center">
  76.               <label value="&flashgotArguments;"  />
  77.                <spacer flex="1" />
  78.               <toolbar style="border: 0px; margin: 0px; padding: 0px; background: transparent;">
  79.               <toolbarbutton style="border: none; background: transparent;"
  80.                 label="&flashgotPlaceHolders;" type="menu">
  81.                 <menupopup>
  82.                   <menuitem id="ph-" hidden="true" oncommand="g_cust.insertPH(this.id)"/>
  83.                 </menupopup>
  84.               </toolbarbutton>
  85.             </toolbar>
  86.             </hbox>
  87.             <textbox id="customDM-args" multiline="true" flex="1" 
  88.               cols="60" rows="3"  
  89.               oninput="g_cust.argsChanged(this)" />
  90.             
  91.             <hbox align="center">
  92.               
  93.                <spacer flex="1" />
  94.               <button label="&flashgotRemove;" oncommand="g_cust.remove()" />
  95.             </hbox>
  96.           </vbox>
  97.            <vbox flex="1">
  98.             <checkbox class="dm-opt" id="opt-Net_Transport.encode" label="&flashgotEncodeURLs;" />
  99.             
  100.             <checkbox class="dm-opt" id="opt-dmsopts._Built_In_.overwrite" label="&flashgotOverwrite;" />
  101.             
  102.             <checkbox class="dm-opt" id="opt-Downloader_4_X.quiet" label="&flashgotDMQuiet;" />
  103.             
  104.             <checkbox class="dm-opt" id="opt-GetRight.quick" label="&flashgotGetRightQuick;" />
  105.             <checkbox class="dm-opt" id="opt-GetRight.old" label="&flashgotGetRightOld;" />
  106.             <checkbox class="dm-opt" id="opt-GetRight.autostart" label="&flashgotAutostart;" />
  107.             <checkbox class="dm-opt" id="opt-dmsopts.GetRight.quiet" label="&flashgotDMQuiet;" />
  108.             
  109.             <checkbox class="dm-opt" id="opt-dmsopts.JDownloader.autostart" label="&flashgotAutostart;" />
  110.             <checkbox class="dm-opt" id="opt-dmsopts.JDownloader.quiet" label="&flashgotDMQuiet;" />
  111.             
  112.             <label id="nodms" collapsed="true"
  113.                style="color: #0000FF; text-decoration: none; cursor: pointer; margin: 4px; padding: 4px; background-color: yellow; border: 1px solid red"
  114.                tooltiptext="&flashgotNoDMS.tip;"
  115.                onclick="gFlashGotService.showDMSReference()"
  116.                >&flashgotNoDMS;</label>
  117.               
  118.             <hbox class="dm-opt" id="hbox-WellGet" align="center">
  119.               <label id="wellget-label" value="&flashgotWellGetPath;" />
  120.               <textbox readonly="true" id="wellget-text" flex="1" />
  121.               <button label="&flashgotBrowse;" onclick="fgo_browseWellGet()" />
  122.               <button label="&flashgotReset;" onclick="fgo_browseWellGet(true)" />
  123.             </hbox>
  124.                
  125.             </vbox>
  126.             
  127.           </deck>
  128.           <checkbox id="shownInContextMenu" label="&flashgotShownInContextMenu;" 
  129.               oncommand="fgo_shownInContextMenuClicked(this)" />
  130.       
  131.           <separator class="groove" />
  132.             
  133.           <checkbox id="opt-includeImages" label="&includeImages.label;" />
  134.           <checkbox id="opt-altClick" label="&flashgotAltClick;" />
  135.           <checkbox id="opt-bypassCombo" label="&flashgotBypassCombo;" />
  136.        </vbox>
  137.       </tabpanel>
  138.       <tabpanel>
  139.       <vbox flex="1">
  140.       <spacer flex="1" />
  141.       <hbox flex="1">
  142.         <spacer flex="1" />
  143.         <vbox>
  144.         <!--
  145.         <checkbox id="invopt-hide-menu" label="FlashGot &flashgotMenu;" />
  146.         <separator />
  147.         -->
  148.           <checkbox id="invopt-hide-it" label="&flashgotLink;" />
  149.           <checkbox id="invopt-hide-sel" label="&flashgotSel;" />
  150.           <checkbox id="invopt-hide-all" label="&flashgotAll;" />
  151.           <checkbox id="invopt-hide-tabs" label="&flashgotTabs;" />
  152.           <checkbox id="invopt-hide-media" label="&flashgotMedia;" />
  153.           <separator />
  154.          
  155.           <checkbox id="invopt-hide-buildGallery" label="&flashgotBuildGallery;" />
  156.           <checkbox id="invopt-hide-options" label="&flashgotOptions;" />
  157.           <separator />
  158.           <separator class="groove" />
  159.           <separator />
  160.           <checkbox id="opt-hideDisabledCmds" label="&hideDisabledCmds.label;" />
  161.          <checkbox id="opt-hide-icons" label="&hideIcons;" />
  162.          <checkbox id="opt-nested-menu" label="&nestedMenu;" />
  163.         </vbox>
  164.         <spacer flex="1" />
  165.       </hbox>
  166.        <spacer flex="1" />
  167.        </vbox>
  168.       </tabpanel>
  169.       <tabpanel>
  170.       <vbox flex="1">
  171.       <checkbox id="opt-autoStart" label="&flashgotAutostart;" />
  172.       <separator class="thin" />
  173.       <radiogroup id="interception-rg"
  174.         onselect="fgo_interceptionSelected(this)">
  175.         <radio id="interceptAll-radio" label="&flashgotInterceptAll;" />
  176.         <separator class="groove" />
  177.         <radio id="interceptExt-radio" label="&flashgotExtensions;" />
  178.       </radiogroup>
  179.       <grid id="extensions-box" flex="1">
  180.       <columns>
  181.         <column flex="1"/>
  182.         <column />
  183.       </columns>
  184.       <rows>
  185.        <row align="center">
  186.         <textbox id="ext-text" oninput="fgo_extText_changed()" />
  187.         <button id="ext-add-button" 
  188.           label="&flashgotAdd;"  
  189.           oncommand="fgo_ext_add()" disabled="true" />
  190.        </row>
  191.        <row>
  192.        <listbox id="ext-list" seltype="multiple" 
  193.                   onselect="fgo_extList_changed()" 
  194.                   rows="8" 
  195.                   >
  196.                   <listitem id="fake_ext_item" label=" " />
  197.                   </listbox>
  198.        <vbox>
  199.        <button id="ext-remove-button" 
  200.         label="&flashgotRemove;" 
  201.         oncommand="fgo_ext_remove()" disabled="true" />
  202.        </vbox>
  203.        </row>
  204.        <row>
  205.         <checkbox id="opt-extfilter" label="&flashgotExtFilter;" />
  206.        </row>
  207.       </rows>
  208.      
  209.       </grid>
  210.       
  211.       </vbox>
  212.       </tabpanel>
  213.       <tabpanel>
  214.        <vbox flex="1" >
  215.           <label class="header" value="&flashgotReferrer;" />
  216.           <radiogroup id="referrer-radio">
  217.           <radio value="true" label="&flashgotAutodetectReferrer;" />
  218.           <radio value="false" label="&flashgotFakeReferrer;" />
  219.           <hbox>
  220.             <spacer width="20" />
  221.             <textbox id="referrer-text" flex="1" />
  222.           </hbox>
  223.           </radiogroup>
  224.           <spacer flex="1" />
  225.           <separator class="groove" />
  226.         
  227.              <checkbox id="invopt-omitCookies" label="&flashgotSendCookies;" />
  228.              <checkbox id="opt-httpauth" label="&flashgotHTTPAuth;" />
  229.           <spacer flex="1" /> 
  230.             
  231.        </vbox>
  232.       </tabpanel>
  233.       <tabpanel>
  234.      
  235.       <vbox flex="1" >
  236.         <label class="header" id="tmpdir-label" value="&flashgotTmpDir;" />
  237.         <hbox align="center">
  238.           
  239.           <textbox id="tmpdir-text" readonly="true" flex="1"/>
  240.           <button label="&flashgotBrowse;"
  241.             oncommand="fgo_browseTmpDir()" />
  242.         </hbox>
  243.         <description id="tmpdir-warning" 
  244.           style="visibility: hidden">&flashgotRebootChange;</description>
  245.         <spacer flex="1" />
  246.         
  247.         <separator class="groove" />
  248.         <checkbox id="opt-firstRunRedirection" label="&flashgotShowReleaseNotes;"/>
  249.          
  250.         <spacer flex="1" />
  251.         <separator class="groove" />
  252.         <hbox align="center">
  253.           <checkbox id="opt-detect.auto"  label="&flashgotAutodetect;" />
  254.            <spacer flex="1" />
  255.           <button label="&flashgotDetect;" oncommand="fgo_detectNow()" />
  256.          </hbox> 
  257.          
  258.          <spacer flex="1" />
  259.         <separator class="groove" />
  260.         <hbox align="center">
  261.           <label class="header" id="tmpdir-label" value="&flashgotLog;" />
  262.           <checkbox id="invopt-logEnabled"  label="&flashgotDisable;" />
  263.           <spacer flex="1" />
  264.             <button label="&flashgotShowLog;" 
  265.               oncommand="fgo_showLog()"  
  266.             />
  267.             <button label="&flashgotClearLog;" 
  268.               oncommand="fgo_clearLog()"  
  269.             />
  270.           </hbox>
  271.     
  272.        </vbox>
  273.       </tabpanel>
  274.     </tabpanels>
  275.   </tabbox>
  276.   
  277.   <description id="badInstall" flex="1" hidden="true" >&flashgotBadInstall;</description>
  278.   
  279. </dialog>
  280.